<template>
  <div class="about">
    <!-- logo -->
    <img src="../assets/logo.png" style="width: 204px;height: 84px;" alt="">
    <div class="menus">
      <template v-for="(item, index) in menus" :key="index">
        <div class="menu">
          <!-- {{ item.icon }} -->
          <img :src="item.icon" alt="">
          <text>{{ item.name }}</text>
          <text>></text>
        </div>
      </template>
    </div>
  </div>
</template>
<script setup name="about">
import { reactive } from 'vue'
const menus = reactive([
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  },
  {
    icon: require('../assets/icon.png'),
    name: '功能1'
  }
])

</script>
<style>
.about{
  width: 204px;
  position: fixed;
  top: 0;
  bottom: 0;
  background-color: #2A3038;
}
.menu{
  height: 40px;
  line-height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  color: #F9F9F9;
}
</style>
